<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<div th:if="${session.login==null}">
    <a th:href="@{/page/login}" style="font-size: 20px">登录</a>
</div>


<p>欢迎来到首页</p>
<a href="http://localhost/page/admin/viewAdmin">前往视图页</a>
</body>
</html>